package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author 梅松
 * @Date 2021/10/17 13:41
 */
public interface UserDao extends JpaRepository<LagouUser,Long> {

    /**
     * 根据email查询用户
     * @param email
     * @return
     */
    public LagouUser findLagouUserByEmail(String email);
}
